package com.eebbk.tfd.question.newcontenttest.service.impl;

import com.eebbk.tfd.question.newcontenttest.dao.TQuestionYoudaoForBbkPs2020Dao;
import com.eebbk.tfd.question.newcontenttest.entity.TQuestionYoudaoForBbkPs2020;
import com.eebbk.tfd.question.newcontenttest.service.TQuestionYouDaoForBbkPs2020Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author tangfudong
 * @date 2020/8/6
 */
@Service
public class TQuestionYouDaoForBbkPs2020ServiceImpl implements TQuestionYouDaoForBbkPs2020Service {
    @Autowired
    private TQuestionYoudaoForBbkPs2020Dao tQuestionYoudaoForBbkPs2020Dao;

    @Override
    public TQuestionYoudaoForBbkPs2020 queryById(int id){
        return tQuestionYoudaoForBbkPs2020Dao.queryById(id);
    }

    @Override
    public List<TQuestionYoudaoForBbkPs2020> queryByBeginId(int beginId, int pageSize) {
        return tQuestionYoudaoForBbkPs2020Dao.queryByBeginId(beginId,pageSize);
    }

}
